package com.tarena.lbs.business.dao.mapper;

import com.tarena.lbs.business.pojo.vo.BusinessCategoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessCategoryMapper {
    @Select("SELECT id AS id, label AS label, sort AS sort, status AS status, remark AS remark, create_time AS createTime, update_time AS updateTime FROM lbs_business_category ORDER BY sort ASC, id ASC")
    List<BusinessCategoryVO> selectAll();
}
